<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/8/23
 * Time: 15:08
 * 添加接口信息
 */
//获取参数
$oi_name              = $route->bodyParams['oi_name'];               //接口名称
$oi_type              = $regexpObj->bodyV($response,$route,'oi_type','NUMBER');  //接口类新


//写入数组
$insertArr = [
    'oi_name'              => $oi_name,
    'oi_type'              => $oi_type,
];

//执行写入语句
$rsData = $db->mysqlDB->insert("oa_interface",$insertArr);

//返回成功结果
$response->responseData( true, $rsData );